home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / misc / samples2 / parse.txt < prev    next >
Encoding:
Text File  |  1995-07-24  |  592 b   |  29 lines

  1. This sample code demonstrates parsing a text file.  It creates an ascii 
  2. file in the format:
  3.  
  4. "Doe, John","555-1435","Thrillseeker"
  5. "Doe, Jane","555-7899","couch potato"
  6.  
  7. then reads that file, parses it, and assigns that data to a 
  8. text box in the format:
  9.  
  10. Doe, John
  11. 555-1435
  12. Thrillseeker
  13.  
  14. Doe, Jane
  15. 555-7899
  16. Couch potato
  17.  
  18. The tricky(?) part is the comma separating the first and last names, which
  19. needs to be skipped over.
  20.  
  21. Any questions can be sent to VDG Mike on America Online.  Hope you find
  22. this useful.
  23.  
  24. Mike Davis
  25.  
  26. Visual Developers Group
  27. vdgmike@aol.com
  28.  
  29.